package org.example.java.util.colls;

import java.util.TreeMap;

/**
 * User: ZhangJuntao
 * Date: 13-11-3
 * Time: 上午8:45
 */
public class TreeMapTest {
  public static void main(String[] args) {
    TreeMap<String,String> tree= new TreeMap<String, String>();
    tree.put("1","A");
    tree.put("2","B");
    tree.put("2","B");
    tree.put("3","C");
    tree.put("11","C");
    System.out.println(tree);
    System.exit(sleep());
  }

  public static int sleep(){
    try {
      Thread.sleep(3000l);
      System.out.println("sleep end!");
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
    return -1;
  }
}
